package itcz.example.pattern.behavior_type.strategy;

/**
 * @ClassName: Client
 * @Author: ITCZ
 * @Date: 2025-06-27
 * @Description: 测试类
 */
public class Client {
    public static void main(String[] args) {
        SalesMan salesMan = new SalesMan(new StrategyA());
        salesMan.show();
        SalesMan salesManB = new SalesMan(new StrategyB());
        salesManB.show();
        SalesMan salesManC = new SalesMan(new StrategyC());
        salesManC.show();
    }
}
